Java Mine
ContentsIndexHome
PreviousUpNext
Gateway.Gateway Constructor (long, eGatewayType, String, String, String, int, SecretKey, byte[])
Syntax
Java
public Gateway(long gatewayID, eGatewayType gatewayType, String gatewayFirmwareVersion, String radioFirmwareVersion, String hostAddress, int port, SecretKey encryptionKey, byte[] encryptionIV);

 

Creates a new gateway that takes a pre-shared key allowing for encryption of data packets @param gatewayID The unique identifier of a gateway @param gatewayType The type of gateway that will be created such as usb or ethernet @param gatewayFirmwareVersion This is the firmware version of the gateways APN @param radioFirmwareVersion This is the firmware of the radio the gateway uses to listen to sensors with @param hostAddress The primary Host address the gateway will pass sensor data through @param port The primary port the gateway will pass sensor data through @param encryptionKey (16 byte) Encryption key generated during handshake, if server is restarted or multiple server instances are configured this key needs to match across all instances or the gateway will have to re initialize its security handshake @param encryptionIV (12 byte) Initialization vector generated during handshake, if server is restarted or multiple server instances are configured this key needs to match across all instances or the gateway will have to re initialize its security handshake

Copyright (c) 2022. All rights reserved.
What do you think about this topic? Send feedback!